<template>
  <ElConfigProvider size="default" :z-index="3000">
    <RouterView></RouterView>
  </ElConfigProvider>
</template>

<script setup lang="ts">
import { RouterView } from "vue-router";

import { setThemeTransitionClass } from "./utils/theme/themeControl";
onBeforeMount(() => {
  setThemeTransitionClass(true);
});

onMounted(() => {
  // 提升暗黑主题下页面刷新视觉体验
  setThemeTransitionClass(false);
});
</script>

<style scoped></style>
